﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CardReport.aspx.cs" Inherits="WebSite.admin.Report.CardReport" %>

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head2" runat="server">
    <title>福利点点通 </title>
    <link href="../css/skin.css" rel="stylesheet" type="text/css" />
       <script src="../js/common.js" type="text/javascript"></script>
        <style type="text/css">
        .x-grid3-row-table .expander
        {
            padding: 5px;
        }
        .x-grid3-row-table .expander p
        {
            padding: 5px 5px 5px 55px;
            text-align:left;
            
        }
        .x-grid3-row-table .expander strong
        {
            font-weight: bold;
        }
    </style>

</head>
<body>
    <form id="form2" runat="server">

     <ext:PageManager ID="PageManager1" runat="server" />

           <ext:SimpleForm ID="extForm1" runat="server" BodyPadding="5px"   
            EnableBackgroundColor="false" Title="卡券统计"  ShowHeader="true" >
              <Items>
            <ext:Panel ID="Panel2" ShowHeader="false"  CssClass="x-form-item" ShowBorder="false" Layout="Column" runat="server">
             <Items>
    <ext:RadioButtonList ID="rblShowType" runat="server" Width="200px" >
      <ext:RadioItem Text="按卡券统计" Selected="True" Value="1"></ext:RadioItem>
         <ext:RadioItem Text="按公司统计" Value="2"></ext:RadioItem>
      </ext:RadioButtonList>

       <ext:DropDownList ID="ddlProvence" runat="server"  AutoPostBack="true"
              onselectedindexchanged="ddlProvence_SelectedIndexChanged">
          </ext:DropDownList> 
          
            <ext:DropDownList ID="ddlLevel" runat="server"    AutoPostBack="true"
                   onselectedindexchanged="ddlLevel_SelectedIndexChanged">
              </ext:DropDownList> 
                <ext:DropDownList ID="ddlCompany" runat="server">
        
        </ext:DropDownList> 
                <ext:DropDownList ID="ddlCardType" runat="server"></ext:DropDownList>

                </Items>
                </ext:Panel>
                   <ext:Panel ID="Panel3" ShowHeader="false"  CssClass="x-form-item" ShowBorder="false" Layout="Column" runat="server">
             <Items>
                 <ext:DropDownList ID="ddlCardStates" runat="server">
            <ext:ListItem Text="卡状态"  Value=""></ext:ListItem>
            <ext:ListItem Text="激活数"  Value="1"></ext:ListItem>
            <ext:ListItem Text="已使用数"  Value="2"></ext:ListItem>
            <ext:ListItem Text="被禁用数"  Value="3"></ext:ListItem>
            <ext:ListItem Text="已领用未激活"  Value="4"></ext:ListItem>
            <ext:ListItem Text="申请激活中"  Value="6"></ext:ListItem>
          </ext:DropDownList>

                  <ext:Label ID="lblTimeFrom"  Width="70px"    runat="server" Text="&nbsp;&nbsp;时间从："></ext:Label>
                    <ext:DatePicker ID="dpkTimeFrom" Width="100px" Label="时间从" runat="server">
                    </ext:DatePicker>
                     <ext:Label ID="lblTimeTo"    runat="server" Text="&nbsp;至&nbsp;"></ext:Label>
                    <ext:DatePicker ID="dpkTimeTo" Width="100px" Label="到" runat="server">
                    </ext:DatePicker>

              <ext:Label ID="lblLevleResult"  Width="80px"    runat="server" Text="&nbsp;&nbsp;筛选级别："></ext:Label>
             <ext:DropDownList ID="ddlLevleResult" runat="server" > </ext:DropDownList>

          
             <ext:Button ID="btnSearch" Text="搜索"  CssClass="mleft mright" runat="server"  OnClick="btnSearch_Click"></ext:Button>
                 <ext:Button ID="btnExport" Text="导出"  CssClass="mleft mright" runat="server" 
                     OnClick="btnExport_Click"  ></ext:Button>
                  </Items>
         </ext:Panel>

     </Items>
     
   </ext:SimpleForm>

     <ext:Grid ID="Grid1" Title="查询结果" PageSize="50" ShowBorder="false" CssClass="x-form-item"   AllowPaging="true"   Height="396px"
                        OnPageIndexChange="Grid1_PageIndexChange" ShowHeader="False" runat="server" EnableCheckBoxSelect="false"   AllowSorting="true"    IsDatabasePaging="false" 
                       OnSort="Grid1_Sort" EnableRowNumber="True">
 
    </ext:Grid>

        <ext:Grid ID="Grid2" Title="查询结果" PageSize="50" ShowBorder="false" CssClass="x-form-item"   AllowPaging="true"   Height="396px"
                        OnPageIndexChange="Grid2_PageIndexChange" ShowHeader="False" runat="server" EnableCheckBoxSelect="false"   AllowSorting="true"    IsDatabasePaging="false" 
                       OnSort="Grid2_Sort" EnableRowNumber="True">
 
    </ext:Grid>

    </form>
</body>
</html>

